package com.github.phoenics.newlives.common.util.alipay;

import lombok.Data;

/**
 * @author Phoenics Chow
 * on 2019年11月19日
 */
@Data
public class AlipayAppConfig {
    private String rsaPrivate;
    private  String sererUrl = "https://openapi.alipay.com/gateway.do";
    private  String partner ;
    // 收款支付宝账号
    private  String sellerEmail ;
    //支付宝公钥
    private  String aliPublicKey;
    // 字符编码格式 目前支持 gbk 或 utf-8
    private  String inputCharset = "utf-8";
    // 签名方式 不需修改
    private  String signType = "RSA2";

    public AlipayAppConfig(String rsaPrivate,
                           String partner,
                           String sellerEmail,
                           String aliPublicKey
                           ){
        this.rsaPrivate=rsaPrivate;
        this.partner=partner;
        this.sellerEmail=sellerEmail;
        this.aliPublicKey=aliPublicKey;
    }

}
